//
//  StartScene.h
//  HelloCpp
//
//  Created by apple  on 13-6-14.
//
//

#ifndef __XIAOLIAN__StartScene__
#define __XIAOLIAN__StartScene__

#include "cocos2d.h"
#include "Box2D/Box2D.h"

USING_NS_CC;

class StartScene : public CCScene, public CCKeypadDelegate
{
public:
    StartScene():m_pb2World(0){}
    virtual ~StartScene(){};
    
    static StartScene* create();
    
    virtual void onEnter();
    virtual void onExit();
    
    bool init();
    
    virtual void update(float dt);
    
    void menuItemClick(CCObject* sender);

	// The back key clicked
	virtual void keyBackClicked();

	// The menu key clicked. only available on wophone & android
	virtual void keyMenuClicked();
protected:
    b2World*    m_pb2World;
};

#endif /* defined(__XIAOLIAN__StartScene__) */
